//
//  BldPresView.h
//  AccuroScale
//
//  Created by Yongfeng Li on 6/16/14.
//  Copyright (c) 2014 Yongfeng Li. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ValuesNeedle : NSObject

@property (nonatomic, weak) UIView *view;

@property (nonatomic, retain) UIColor *tintColor;
@property (nonatomic, retain) UIColor *fillcolor;
@property (nonatomic, assign) float width;

- (void)drawLayer:(CALayer*)layer inContext:(CGContextRef)ctx;

@end

@interface BldPresView : UIView

- (id)initWithFrame:(CGRect)frame;
- (void) setMeasBodySex: (BOOL) bMale;

- (void) startMeas;
- (void) setPresVal:(short)nPres;

- (void) setBledMeasData:(short) nHpres lPres:(short)nLpres hRate:(short)nHrate;
//- (void) setBlelPresRngView:(short) nHpres lPres:(short)nLpres;

- (void) resetMeasData;
- (void) closeDevice;

@end
